<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class About extends MY_Controller {
	function __construct(){
		parent::__construct();
		$this->load->model('page_model');
		$this->load->model('article_model');
		$this->load->model('gallery_model');
		$this->load->model('coltypes_model');
	}
	//公司概括
	public function intro(){
		$data['seo']=$this->db->get_where('columns',array('id'=>2))->row_array();//获取seo
		$this->load->view('intro',$data);
	}
	
	//公司概括
	public function contact(){
		$data['page']=$this->db->get_where('page',array('cid'=>3))->row_array();
		$data['seo']=$this->db->get_where('columns',array('id'=>3))->row_array();//获取seo
		$this->load->view('contact',$data);
	}
	
	
	
	
	
	
	
	
	
	
}